package com.qy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单实体类
 */
@Data
@TableName("orders")
public class Order implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String id;
    private String userId;
    private String userName;
    private String packageId;
    private String packageName;
    private Double originalPrice;
    private Double discountAmount;
    private Double actualPrice;
    private String status;
    private String statusName;
    private Date createTime;
    private Date paymentTime;
    private Date effectiveTime;
}